package org.mappland.compltres.common;

import lombok.Data;

/*
    设置通用返回信息类
 */
@Data
public class CommonResult<T> {
    private Integer code;
    private String message;
    private T data;

    @Override
    public String toString() {
        return "CommonResult{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
